#ifndef __CONFIG_H
#define __CONFIG_H

/* Debug options */
//#define DEBUG

#ifdef ARCH_NIOS2
# define PLATFORM_NIOS2_SUPPORT
#endif

#ifdef BMP_SUPPORT
# define BMP_USE_MMAP
#endif

/* Font support */
#ifdef FONT_SUPPORT
//# define FONT_USE_MMAP
# define FONT_SIZE_DEFAULT 16
# define FONT_SIZE_MINIMUM 8
#endif

/* Color Space Setting */
#undef  CS_RGB888
#define  CS_RGB565
#undef  CS_YUV
#undef  CS_GRAY_8BIT
#undef  CS_GRAY_10BIT   /* for OUR NIOS2 system */

#ifdef PLATFORM_NIOS2_SUPPORT
# include <platform/nios2.h>
#endif

/* Device files */
#ifndef NON_OS
#define FBDEV    "/dev/fb0"
#define TSDEV    "/dev/ts0"
#else
#define FBDEV   0xfb
#define TSDEV   0x75
#endif

#include <df_color.h>

#endif
